package com.lifeng.mapper;

import com.lifeng.bean.User;

import java.util.List;

/**
 * Created by lifeng on 2019/8/9.
 */
public interface UserMapper {
    /** 通过用户名查询*/
    public User selectByUserName(String userName);

    /** 通过用户名查询权限*/
    public List<String> selectPermissionByUserId(Integer userId);
}
